package com.bingxue.edu.common.enums;


import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 报名变更类型
 * @author zq
 * @since 2024/8/21
 */
@Getter
@AllArgsConstructor
@Dict("上架状态")
public enum SaleStatusEnum implements DictEnum<Integer> {
    ON(0, "下架"),
    OFF(1, "上架");
    @JsonValue
    @EnumValue
    private final Integer value;
    private final String label;
}
